<div id="content-main" class="products-page">
				<div class="contenbox-wrapper">					
					<div id="products-wrapper" class="wrapper-list-products">
						<?php 
						if(count($this->entriesProductos) >0)
							echo "<h1>Productes i equipaments</h1>";
						
						foreach ($this->entriesProductos as $entry):						
						?>
						<div class="products-sale">
						    <div class="image-date">
						    	<img class="image" alt="" width="130px" src="<?echo $this->escape($entry->imagen) ?>" />
								<span class="date"><?
									$fecha = new Zend_Date($entry->fecha, 'yyyy-mm-dd');
									echo $this->escape($fecha->get('dd-mm-yyyy'));
									?>
								</span>
							</div>
							<div class="description">					
								<h3><?echo $this->escape($entry->titulo) ?></h3>
								<span><?echo $this->escape($entry->descripcion) ?></span>
								<p>
								<b>Contacto:</b> <?echo $this->escape($entry->contacto)?><br />
								<b>Telèfon:</b> <?echo $this->escape($entry->telefono)?><br />
								<b>E-mail:</b> <?echo $this->escape($entry->email)?><br />
								</p>
							</div>
							
						</div>
					    <?php
					    endforeach; 
					    
					    if(count($this->entriesVenda) >0)
							echo "<h1>Naus en venda o lloguer</h1>"; 
						foreach ($this->entriesVenda as $entry): 
						?>
						<div class="realstate-sale">
						    <div class="image-date">
						    	<img class="image" alt="" width="130px" src="<?echo $this->escape($entry->imagen) ?>" />
								<span class="date"><?
									$fecha = new Zend_Date($entry->fecha, 'yyyy-mm-dd');
									echo $this->escape($fecha->get('dd-mm-yyyy'));
									?>
								</span>
							</div>
							<div class="description">					
								<h3><?echo $this->escape($entry->titulo) ?></h3>
								<span><?echo $this->escape($entry->descripcion) ?></span>
								<p>
								<b>Contacto:</b> <?echo $this->escape($entry->contacto)?><br />
								<b>Telèfon:</b> <?echo $this->escape($entry->telefono)?><br />
								<b>E-mail:</b> <?echo $this->escape($entry->email)?><br />
								</p>
							</div>
						</div>
						<?php endforeach ?>
					</div>
				</div>
			</div>